package com.codegeek.project.slope.mapper;

import com.codegeek.project.slope.domain.SlopeCamera;

import java.util.List;

/**
 * 摄像头Mapper接口
 *
 * @author codegeek
 * @date 2020-02-17
 */
public interface SlopeCameraMapper {
    /**
     * 查询摄像头
     *
     * @param cameraId 摄像头ID
     * @return 摄像头
     */
    public SlopeCamera selectSlopeCameraById(Long cameraId);

    /**
     * 查询摄像头列表
     *
     * @param slopeCamera 摄像头
     * @return 摄像头集合
     */
    public List<SlopeCamera> selectSlopeCameraList(SlopeCamera slopeCamera);

    /**
     * 新增摄像头
     *
     * @param slopeCamera 摄像头
     * @return 结果
     */
    public int insertSlopeCamera(SlopeCamera slopeCamera);

    /**
     * 修改摄像头
     *
     * @param slopeCamera 摄像头
     * @return 结果
     */
    public int updateSlopeCamera(SlopeCamera slopeCamera);

    /**
     * 删除摄像头
     *
     * @param cameraId 摄像头ID
     * @return 结果
     */
    public int deleteSlopeCameraById(Long cameraId);

    /**
     * 批量删除摄像头
     *
     * @param cameraIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSlopeCameraByIds(Long[] cameraIds);
}
